package gamagora.game.world.maps.game
{
	import gamagora.game.entity.*;
	import gamagora.game.world.maps.OSMap;

	public class OSMap33 extends OSMap
	{
		public function OSMap33()
		{
			super();

			var ground:OSGround = new OSGround(0, 640, 100, 440, 0, false);
			ground.setNoErosionDown([105, 106, 107, 108, 109]);
			ground.setNoErosionLeft([0, 5, 10, 15, 20, 25, 30, 35, 40, 45, 50, 55, 60, 65, 70, 75, 80, 85, 90, 95, 100, 105]);
			ground.setNoErosionRight([4, 69, 74, 109]);
			ground.erode();
			add(ground);

			ground = new OSGround(80, 700, 180, 20, 45, false);
			ground.setBorders(true, true);
			add(ground);

			ground = new OSGround(80, 980, 180, 20, 45, false);
			ground.setBorders(true, true);
			add(ground);

			ground = new OSGround(100, 1060, 140, 20, 0, false);
			ground.setNoErosionDown([0, 1, 2, 3, 4, 5, 6]);
			ground.setNoErosionLeft([0]);
			ground.setNoErosionRight([6]);
			ground.erode();
			add(ground);

			ground = new OSGround(80, 840, 180, 20, -45, false);
			ground.setBorders(true, true);
			add(ground);

			ground = new OSGround(240, 780, 280, 20, 0, false);
			ground.setNoErosionUp([1, 2, 3, 4]);
			ground.setNoErosionDown([0, 1, 2, 3, 4, 5, 6]);
			ground.setNoErosionLeft([0]);
			ground.erode();
			add(ground);

			ground = new OSGround(240, 800, 140, 280, 0, false);
			ground.setNoErosionUp([0, 1, 2, 3, 4, 5, 6]);
			ground.setNoErosionDown([91, 92, 93, 94, 95, 96, 97]);
			ground.setNoErosionLeft([84, 91]);
			ground.setNoErosionRight([55]);
			ground.erode();
			add(ground);

			ground = new OSGround(360, 1000, 180, 20, 45, false);
			ground.setBorders(true, true);
			add(ground);

			ground = new OSGround(500, 700, 60, 60, 0, false);
			ground.setNoErosionRight([2, 5, 8]);
			ground.erode();
			add(ground);

			ground = new OSGround(560, 700, 180, 100, 0, false);
			ground.setNoErosionDown([36, 37, 38, 39, 40, 41, 42, 43, 44]);
			ground.setNoErosionLeft([0, 9, 18]);
			ground.erode();
			add(ground);

			ground = new OSGround(420, 860, 180, 20, -45, false);
			ground.setBorders(true, true);
			add(ground);

			ground = new OSGround(580, 800, 160, 280, 0, false);
			ground.setNoErosionUp([0, 1, 2, 3, 4, 5, 6, 7]);
			ground.setNoErosionDown([104, 105, 106, 107, 108, 109, 110, 111]);
			ground.setNoErosionLeft([0]);
			ground.setNoErosionRight([95]);
			ground.erode();
			add(ground);

			ground = new OSGround(750, 890, 200, 20, 0, true);
			ground.setBorders(true, true);
			add(ground);

			ground = new OSGround(720, 960, 180, 20, -45, false);
			ground.setBorders(true, true);
			add(ground);

			add(new OSStall(260, 760));
		}
	}
}
